set WORKSPACE=..
set LUBAN_DLL=%WORKSPACE%\Luban\Luban.dll
set CONF_ROOT=.

dotnet %LUBAN_DLL% ^
    -t client ^
    -c typescript-bin ^
    -d bin ^
    -x bin.fileExt=bin ^
    --conf %CONF_ROOT%/luban.conf ^
    -x typescript-bin.outputCodeDir=../../gameWorld/assets/script/template ^
    -x bin.outputDataDir=../../gameWorld/assets/resources/template1

dotnet %LUBAN_DLL% ^
    -t client ^
    -c typescript-json ^
    -d json ^
    --conf %CONF_ROOT%/luban.conf ^
    -x typescript-json.outputCodeDir=clientCode ^
    -x json.outputDataDir=clientJson

dotnet %LUBAN_DLL% ^
    -t server ^
    -d json ^
    --conf %CONF_ROOT%/luban.conf ^
    -x json.outputDataDir=serverJson